﻿using System;
using WeiboPlus.Models;

namespace WeiboPlus.Service
{
    public interface IUserService : IService
    {
        void GetUser(SNSRequest request,Action<SNSUser,SNSResult> action);

        void GetUserList(SNSRequest snsRequest, Action<System.Collections.Generic.IList<SNSUser>, SNSResult> action);

        void Follow(SNSUser user, Action<SNSUser, SNSResult> action);

        void Unfollow(SNSUser user, Action<SNSUser, SNSResult> action);

        void GetFriendship(SNSUser user, Action<SNSFriendship, SNSResult> action);

        void SearchUser(SNSRequest snsRequest, Action<System.Collections.Generic.IList<SNSUser>, SNSResult> action);
    }   
}
